
package com.sm.shoplook.domain.customer;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_customer")
public class Customer implements Serializable {

	@Id
	private Integer id;
	/**
	 * 邮箱
	 */
	private String account;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 状态： 0已锁定 1正常
	 */
	private Integer status;
	/**
	 * 审核状态：1待审核 2审核通过 3审核不通过
	 */
	@Column(name = "audit_status")
	private Integer auditStatus;
	/**
	 * 昵称
	 */
	private String alias;
	/**
	 * 性别：M男 F女
	 */
	private String sex;
	/**
	 * 口号
	 */
	private String sologan;
	/**
	 * 自我介绍
	 */
	@Column(name = "self_introduce")
	private String selfIntroduce;
	/**
	 * 营业执照
	 */
	@Column(name = "business_license")
	private String businessLicense;
	/**
	 * 出生日期
	 */
	private Date birthday;
	/**
	 * 审核备注信息
	 */
	@Column(name = "audit_description")
	private String auditDescription;
	@Column(name = "head_img")
	private String headImg;
	/**
	 * 修改日期
	 */
	@Column(name = "update_time")
	private Date updateTime;
	/**
	 * 注册时间
	 */
	@Column(name = "create_time")
	private Date createTime;
	/**
	 * 账户类型： 1个人用户 2商户
	 */
	private Integer type;
	/**
	 * 商户注册日期
	 */
	@Column(name = "reg_time")
	private Date regTime;
	private static final long serialVersionUID = 1L;

	/**
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 获取密码
	 * @return password - 密码
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * 设置密码
	 * @param password 密码
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * 获取注册时间
	 * @return create_time - 注册时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置注册时间
	 * @param createTime 注册时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSologan() {
		return sologan;
	}

	public void setSologan(String sologan) {
		this.sologan = sologan;
	}

	public String getSelfIntroduce() {
		return selfIntroduce;
	}

	public void setSelfIntroduce(String selfIntroduce) {
		this.selfIntroduce = selfIntroduce;
	}

	public String getBusinessLicense() {
		return businessLicense;
	}

	public void setBusinessLicense(String businessLicense) {
		this.businessLicense = businessLicense;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getAuditDescription() {
		return auditDescription;
	}

	public void setAuditDescription(String auditDescription) {
		this.auditDescription = auditDescription;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getRegTime() {
		return regTime;
	}

	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}
}
